package com.huabo.contract.oracle.entity;

import java.math.BigDecimal;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-03-22
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_LEGAL_ARBITRATIONRECORD")
@ApiModel(value="TblLegalArbitrationrecord对象", description="")
public class TblLegalArbitrationrecord implements Serializable {
//法务管理-仲裁过程-新建-仲裁过程信息
    private static final long serialVersionUID = 1L;

      @TableId("ARRECORDID")
      @Id
      @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
      private Integer arrecordid;

    @TableField("ARSTAGE")//仲裁阶段
    private String arstage;

    @TableField("ARCONTACTPERSON")//仲裁机构联系人
    private String arcontactperson;

    @TableField("OURCONTRACTPERSON")//我放代理人
    private String ourcontractperson;

    @TableField("COMMUNICATIONMODE")
    private String communicationmode;

    @TableField("ARRECORDMODE")//过程纪要
    private String arrecordmode;

    @TableField("ARRECORDMEMO")//备注
    private String arrecordmemo;

    @TableField("ARBITRATIONINFO")
    private Integer arbitrationinfo;

    @TableField("CREATESTAFF")
    private BigDecimal createstaff;

    @TableField("CREATETIME")//录入时间
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createtime;

    @TableField("LINKORG")
    private BigDecimal linkorg;

    @TableField("DEALDATE")//日期
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date dealdate;

      @ApiModelProperty(value = "贵安配合人员")
      @TableField("ATTORNEY")
    private String attorney;

      @ApiModelProperty(value = "贵安所属单位")
      @TableField("COMPANY")
    private String company;

      @ApiModelProperty(value = "贵安联系方式")
      @TableField("PHONE")
    private BigDecimal phone;

      @Transient//录入人
    private String createname;


      //TblLegalArbitratsettlement

    @Transient
    private Integer arbitraid;
    @Transient//一审法院新增必填//案件名称
    private String courtfirst;
    @Transient
    @JSONField(format = "yyyy-MM-dd")//仲裁受理日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date asdealdate;
    @Transient
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date asfirsthearingdate;//仲裁首次开庭日期
    @Transient//仲裁金额
    private BigDecimal arbitrationamount;
    @Transient
    @JSONField(format = "yyyy-MM-dd")//仲裁结案日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date arbitrationenddate;
    @Transient//仲裁结果
    private String arbitrationresult;
    @Transient
    private Integer negotiateinfo;
    @Transient
    private BigDecimal arbitrastatus;
    @ApiModelProperty(value = "币种")
    @Transient
    private String currency;
    @ApiModelProperty(value = "隶属纠纷")
    @Transient
    private BigDecimal disputeid;

    //TblStaff

    @Transient
    private BigDecimal staffid;//主键ID,自动增长
    @Transient
    private String realname;//真实名字
    @Transient
    private String fixedphone;//固定电话
    @Transient
    private String address;//地址
    @Transient
    private String email;//邮箱
    @Transient
    private String miblephone;//手机号码
    @Transient
    private String memo;//备注
    @Transient
    private String username;//用户名（登录名）
    @Transient
    private String password;//密码
    @Transient
    private BigDecimal jobid;//岗位ID
    @Transient
    private Integer status;//状态（1启用，0弃用）
    @Transient
    private TblRole  trole;
    //private TblOrganization tblOrganization;//组织ID
    @Transient
    private BigDecimal orgid;//组织Id
    @Transient
    private Integer outSideId; //标识用户来源 为null是本系统，1：蜂信，2,蜂信购买后的用户   3：华博云系统注册用户管理员  以后可能为2,3...来表示其它来源
    @Transient
    private String outSideOpenId; //外部同步企业来源Id
}
